from rest_framework.serializers import ModelSerializer
from news.models import Newsmodel
class NewSerlizer(ModelSerializer):
    class Meta():
        model = Newsmodel
        fields = '__all__'